﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class Comment
    {
        public Comment()
        {
        }

        public int Id { get; set; }
        [Index]
        public int? ReplyId { get; set; }
        public byte ModelId { get; set; }
        [Index]
        public int ContentId { get; set; }
        public string UserName { get; set; }
        public decimal Score { get; set; }
        public string Content { get; set; }
        public bool Pass { get; set; }
        public string IP { get; set; }
        public int Support { get; set; }
        public int Oppose { get; set; }
        public System.DateTime CreateTime { get; set; }
        public System.DateTime UpdateTime { get; set; }
        public int? Floor { get; set; }
        public int? MaxFloor { get; set; }
        public string Path { get; set; }

        public virtual Core ContentCore { get; set; }

    }
}